import { Model } from 'utils'

const Tab = Model({
  id: '',
  type: 'editor',
  flags: {},
  icon: 'fa fa-file-o',
  title: 'untitled',
  path: '',
  content: null,
  tabGroupId: ''
})

const TabGroup = Model({
  id: '',
  tabIds: [],
  type: 'editor', // 默认类型
  activeTabId: ''
})

export { Tab, TabGroup }
